package com.prp.gwt.client.vo;

import java.util.ArrayList;
import java.util.List;

import com.google.gwt.user.client.rpc.IsSerializable;

public class SubjectChildCategoryList implements IsSerializable {

	private List<SubjectChildCategory> scc = new ArrayList<SubjectChildCategory>();
	private String parent;
	
	public String getParent() {
		return parent;
	}

	public void setParent(String parentName) {
		this.parent = parentName;
	}

	public int size() {
		return scc.size();
	}

	public SubjectChildCategory get(int index) {
		return scc.get(index);
	}

	public void add(SubjectChildCategory e){
		scc.add(e);
	}
	
	public boolean isEmpty(){
		return scc.isEmpty();
	}
	
}
